From: Eli Zaretskii Date: Sat, 31 Aug 2002 10:16:40 +0000 (+0000) Subject: (get_window_cursor_type): Don't use x_highlight_frame X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~30880 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b0c2de0ab02a98da7f6de97b686e5d5310cc6107;p=emacs.git (get_window_cursor_type): Don't use x_highlight_frame member of x_display_info unless we compile for some window system. --- diff --git a/src/xdisp.c b/src/xdisp.c index fa63e6ffc5a..f277abee47f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -15320,8 +15320,11 @@ get_window_cursor_type (w, width) } /* Nonselected window or nonselected frame. */ - else if (f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame - || w != XWINDOW (f->selected_window)) + else if (w != XWINDOW (f->selected_window) +#ifdef HAVE_WINDOW_SYSTEM + || f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame +#endif + ) { if (MINI_WINDOW_P (w) && minibuf_level == 0) return NO_CURSOR;